FROM  192.168.10.79/chanpinzu/java:8-jre
ENV CATALINA_HOME /usr/local/tomcat
ENV PATH $CATALINA_HOME/bin:$PATH
RUN mkdir -p "$CATALINA_HOME"
WORKDIR $CATALINA_HOME

COPY tomcat.zip .
RUN unzip -q tomcat.zip && rm -rf tomcat.zip
RUN cd bin && chmod 777 *.sh
